<div class="panelBar">
	<ul class="toolBar">
		<li><a class="add" href="javascript:;" url="multiupload/multiupload.html?ext=图片文件(*.jpg;*.gif;*.png;*.bmp;*.jpeg)&count=5&size=500KB&params={entity_id:{entity_id},picture_id:-1}" target="dialog" rel="multiupload" iframe="true" mask="true" width="400" height="300" callback="$this.parents('.panelBar').next().find('>table.list').removeAttr('loaded').jBinds()"><span>上传图片</span></a></li>
		<li><a class="delete" url="/picture/{picture_id}" area="tbody.list" callback="$this.parents('.panelBar').next().find('>table.list').removeAttr('loaded').jBinds()" type="delete" target="navTabTodo" title="确定要删除选中的数据吗？" warn="请选择需要删除的数据项！"><span>删除</span></a></li>
	</ul>
</div>
<div class="tableList">
	<table class="list" width="100%">
		<thead>
			<tr>
				<th width="25"><input type="checkbox" name="objectId" value="picture_id"/></th>
				<th width="30">编号</th>
				<th width="30">小图</th>
				<th>名称</th>
				<th>描述</th>
				<th width="125">日期</th>
			</tr>
		</thead>
		<tbody class="templet">
			<tr picture_id="${picture_id}" put="picture/${picture_id}">
				<td><input type="checkbox" name="picture_id" value="${picture_id}" /></td>
				<td>${num}</td>
				<td>
					<img name="picture" src="images/jpg.gif" onerror="this.src='images/jpg.gif'" path="${file.small}" midpath="${file.middle}" oldpath="${file.origin}" height="21px" title="${name}"/>
				</td>
				<td class="edit" field="name" validator="required" title="${name}">${name}</td>
				<td class="edit" field="description" type="editor" title="${description}">${description}</td>
				<td>${create_date}</td>
			</tr>
		</tbody>
		<tbody class="list" action="{entity}/{entity_id}/picture">
		</tbody>
	</table>
</div>